<?php

class tplMain extends StudyBuddy\Template\Template {

    protected static $vars = array(
        'title' => 'title', //1
        'site_url' => '', //2
        'site_title' => '', // 3
        'site_description' => '', //4
        'version_id' => '', //5
        'session_uid' => '', //6
        'description' => '', //7
        'extra_metas' => '', //8
        'css1' => '', // 9
        'main_css' => '/css/main.css', //10
        'extra_css' => '', //11
        'js' => '<script type="text/javascript" src="http://yui.yahooapis.com/combo?2.9.0/build/utilities/utilities.js&2.9.0/build/button/button-min.js&2.9.0/build/container/container-min.js&2.9.0/build/cookie/cookie-min.js&2.9.0/build/json/json-min.js"></script>',
        'gfc_js' => '', //13
        'fb_js' => '', //14
        'template_id' => 'yui-t6', //15
        'header' => '', //16
        'body' => '', //17
        'side' => '', //18
        'footer' => '', //19
        'extra_html' => '', //20
        'last_js' => '', //21
        'ads_js' => '', //22
        'analytics_js' => '', // 23
        'topTabs' => '', //24
        'topRight' => '', //25
        'right2' => '', // 26
        'right3' => '', // 27
        'right4' => '', // 28
        'right5' => '', // 29
        'qheader' => '', // 30
        'tags' => '', // 31
        'layoutID' => '1', // 32
        'role' => 'guest', // 33
        'rep' => '1', // 34
        'JS' => '', //35
        'show_comments' => '5', //36
        'comments_timeout' => '5', //37
        'max_comments' => '0', // 38
        'JS_MIN_ID' => '', // 39
        'DISABLE_AUTOCOMPLETE' => '', // 40
        'langsForm' => '', //41
        'home' => 'Home', // 42
        'category' => '', //43
        'keywords' => '', //44
        'filterTabs' => '', //45
        'searchbox' => '', //46
        'loginbox' => '', //47
        'tutors' => '', //48
        'activities' => '', //49
        'badges_legend' => '', //50
    );
    protected static $tpl = '
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>%1$s</title>
    <meta name="site_url" content="%2$s">
    <meta name="site_title" content="%3$s">
    <meta name="site_description" content="%4$s">
    <meta name="version_id" content="%5$s">
    <meta name="session_uid" content="%6$s">
    <meta name="description" content="%7$s">
    <meta name="keywords" content="%44$s">
    <meta name="category" content="%43$s">
    <meta name="role" content="%33$s">
    <meta name="rep" content="%34$s">
    <meta name="show_comments" content="%36$s">
    <meta name="comments_timeout" content="%37$s">
    <meta name="max_comments" content="%38$s">
    <meta name="noac" content="%40$s">
    %8$s
    %9$s
    <link href="%10$s" rel="stylesheet" type="text/css">
    %11$s
    <script type="text/javascript" src="http://yui.yahooapis.com/combo?3.3.0pr3/build/yui/yui-min.js&3.3.0pr3/build/loader/loader-min.js"></script>
    <link rel="stylesheet" href="/js/lightbox/lightbox.css" type="text/css" media="screen" />
    <script type="text/javascript" src="/js/lightbox/lightbox.js"></script>
    %12$s
    <link rel="shortcut icon" href="/favicon.ico">
</head>
<body class="yui-skin-sam" id="doc_body" style="">
    %14$s
    <div id="wrap">
        <!-- start header -->
        <div id="header">
	        <div class="header-left"></div>
	        <div class="header-mid">
	            <div class="head-logo">
	                <a href="/"><img alt="" src="/images/2/logo-left.png" /></a>
	            </div>
	            %16$s
                    %46$s
	        </div>
	        <div class="header-right"></div>
	    </div>
        <!-- end header -->

        <!-- start content -->
        <div id="content">
            <!-- start left -->
            <div class="ct-left">
                <div class="ctl">
                    <div class="ctl-top"></div>
                    <div class="ctl-mid">
                        %45$s
                        <div id="qview-body">%17$s</div>
                    </div>
                    <div class="ctl-bot"></div>
                </div>
                <!-- start topBar -->
                %24$s
                <!-- end topBar -->
                <div id="footer">
	                <div class="footer-left">
	                    <span>Studybuddy © 2011</span>
	                    <span><a href="/content/top-10-reasons" title="Top 10 reasons">Top 10 reasons</a> . <a href="/content/about" title="About">About</a> . <a href="/content/terms" title="Terms">Terms</a> . <a href="/content/help" title="Help">Help</a></span>
	                </div>
	                <div class="footer-right">
	                    <a href="https://www.facebook.com/studybuddy.com.sg" target="blank"><img alt="" src="/images/2/icon/facebook.gif" /></a>
	                    <a href="https://twitter.com/StudyBuddySG" target="blank"><img alt="" src="/images/2/icon/twiter.gif" /></a>            
	                </div>
	            </div>
            </div>
            <!-- end left -->

            <!-- start right -->
            <div class="ct-right">
                %47$s
                %25$s
                %18$s
                %26$s
                %27$s
                %28$s
                %29$s
                %49$s
                %48$s
                %31$s
                %50$s
                <div class="ctr-box">
                    <fb:like-box href="http://www.facebook.com/studybuddy.com.sg" width="205" height="260" conections="8" show_faces="true" stream="false" header="true"></fb:like-box>
                </div>
            </div>
            <!-- end right -->
        </div>
        <!-- end content -->
    </div>

    <div id="fbOverlay">
        <div class="yui3-widget-hd"><h3>Alert</h3></div>
        <div class="yui3-widget-bd"></div>
        <div class="yui3-widget-ft">
            <div><button id="hide-fbOverlay" class="btn">close</button></div>
        </div>
    </div>

    <div id="loading" class="hidden">
        <div class="yui3-widget-hd"></div>
        <div class="yui3-widget-bd"></div>
    </div>

    %20$s
    <div id="lastdiv" class="delegate"></div>
    %13$s
    %21$s
    <script type="text/javascript" src="%35$s"></script>
    <!-- GFC JS -->

    %22$s
</body>
</html>';

}
